//
//  FoundBluetoothVC.h
//  PStoneSDKDemo
//
//  Created by 元潮 谢 on 16/10/8.
//  Copyright © 2016年 元潮 谢. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BlueToothSDK.h"

@interface FoundBluetoothVC : UITableViewController<PStoneBlueToothSDKDelegate>



//蓝牙搜索、连接相关回调
-(void)callbackPeripheralFound:(CBPeripheral *)peripheral RSSI:(NSNumber*)rssi lockName:(NSString*)lockName mac:(NSString*)mac advertisementData:(NSDictionary *)advertisementData;
-(void)callbackConnect:(CBPeripheral *)peripheral lockName:(NSString*)lockName;
-(void)callbackDisconnect:(NSString*)lockName;

//操作回调
-(void)callbackSetLockKeyResult:(Byte)result;
-(void)callbackUnlockResult:(Byte)result;
-(void)callbackWithError:(PStoneErrorCode)errorCode desc:(NSString*)desc;


@end
